/**
 * 
 */
package com.pentalog.stock.dao2;

import java.util.List;

import com.pentalog.stock.model.AppUser;

/**
 * The Interface AppUserDao.
 *
 * @author tnguyenmanh
 */
public interface AppUserDao {

	/**
	 * Save.
	 *
	 * @param appUser the app user
	 */
	void save(AppUser appUser);

	/**
	 * Update.
	 *
	 * @param appUser the app user
	 */
	void update(AppUser appUser);

	/**
	 * Delete.
	 *
	 * @param appUser the app user
	 */
	void delete(AppUser appUser);

	/**
	 * Find by user name.
	 *
	 * @param userName the user name
	 * @return the app user
	 */
	AppUser findByUserName(String userName);
	
	/**
	 * Gets the all app users.
	 *
	 * @return the all app users
	 */
	List<AppUser> getAllAppUsers();
}
